﻿using System.Collections.Generic;

namespace yiCommerce.Areas.Admin.Models.ProductVariants
{
    public class ProductVariantModel
    {
        public int ProductId { get; set; }
        public int Id { get; set; }
        public virtual string Name { get; set; }
        public virtual string Sku { get; set; }
        public virtual int PictureId { get; set; }
        public virtual string PicUrl { get; set; }

        public virtual string Description { get; set; }
        public virtual decimal Price { get; set; }

        public virtual int StockQuantity { get; set; }
        /// <summary>
        /// Gets or sets the display order
        /// </summary>
        public virtual int DisplayOrder { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether the entity is published
        /// </summary>
        public virtual bool Published { get; set; }
        public IList<ProductVariantAttributeListModel> ProductVariantAttributes { get; set; }
        public IList<AttributeControlTypeModel> AttributeControlTypes { get; set; }
        public int AttributeControlTypeId { get; set; }

    }
}